<template>
  <el-breadcrumb separator-class="el-icon-arrow-right">
    <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
    <el-breadcrumb-item v-for="(item, index) in crumb" :key="index">{{item}}</el-breadcrumb-item>
  </el-breadcrumb>
</template>
<script>
export default {
  props: {
    crumb: Array
  }
}
</script>
<style lang="scss" scoped>
.el-breadcrumb {
  margin-bottom: 15px;
}
</style>
